package cn.wk.basic.query;

import lombok.Data;

@Data
public class BaseQuery {

    private Integer currentPage = 1;        //当前页
    private Integer pageSize =10;           //每页条数

    public Integer getBegin(){
        return (this.currentPage-1)*this.pageSize;
    }
}
